package com.lovcreate.shop.api.request;

import com.lovcreate.shop.api.enums.SmsTemplateMessage;

import java.io.Serializable;

/**
 * @author 高博
 * @version 1.0
 * @Time 2016-12-22 15:57:15
 * @Descrption 短信发送请求类
 */
public class SmsSendRequest implements Serializable {

    private SmsTemplateMessage template;

    /**
     * 名称
     */
    private String name;

    /**
     * 如果失败,传失败原因,成功不需要传
     */
    private String reason;

    /**
     * 必填项 手机号
     */
    private String phone;

    public SmsTemplateMessage getTemplate() {
        return template;
    }

    public void setTemplate(SmsTemplateMessage template) {
        this.template = template;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
